<!DOCTYPE html>
<html>
<head lang="en">
    <s3:data name='CollDatas.headerScript' />
    <s3:import type="css"></s3:import>
    <link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp-listView.css">
    <link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp-selectOrg.css">
    <link rel="stylesheet" href="${data:dependencies.edoc}/css/continuedo.css"/>
    <title></title>
    <style >
        .cmp-switch.cmp-active:before { content: '是';}
        .cmp-switch:before {content: '否';}
    </style>
</head>
<body class="cmp-fullscreen">
    <header id="hid" class="cmp-bar cmp-bar-nav head-style">
        <a id="goBackBtn" href="javascript:void(0)" class="cmp-pull-left left-btn"><span class="see-icon-v5-common-arrow-back"></span><i18n key="collaboration.page.lable.goBack"></i18n></a>
        <h1 id="title" class="cmp-title"><i18n key="collaboration.details.deal.continuedo"></i18n></h1>
    </header>

    <div class="cmp-content">
        <div class="cmp-control-content cmp-active">
            <div id="scroll" class="  cmp-scroll-wrapper">
                <div class="cmp-scroll">
                    <ul class="cmp-table-view cmp-content-model">
                        <li class="cmp-table-view-cell">
                            <span>是否续办</span>
                            <div class="cmp-switch cmp-active">
                                <div class="cmp-switch-handle"></div>
                            </div>
                        </li>
                    </ul>

                    <ul id="ul_conninue" class="cmp-table-view cmp-content-model">

                    </ul>
                </div>
            </div>
            <div class="cmp-btn-block-continue">
                <button id="submit" type="button" class="cmp-btn cmp-btn-primary cmp-btn-block ">确定</button>
            </div>
        </div>
    </div>

<s3:data name='cordova' />
<s3:import type="js"></s3:import>
<s3:data name='CollDatas.i18nScript' />
<script type="text/javascript">
   var _edocPath = "${data:dependencies.edoc}";
</script>
<script src="${data:dependencies.cmp}/js/cmp-scrollBox.js${data:buildversion}"></script>
<script src="${data:dependencies.cmp}/js/cmp-listView.js${data:buildversion}"></script>
<script src="${data:dependencies.workflow}/js/wf.js${data:buildversion}"></script>
<script src="${data:dependencies.cmp}/js/cmp-imgCache.js${data:buildversion}"></script>
<script src="${data:dependencies.cmp}/js/cmp-selectOrg.js${data:buildversion}"></script>
<script src="${data:dependencies.edoc}/js/details/continue_do.js${data:buildversion}"></script>

<!-- js模版 -->
<script type="text/html" id="list_li_tpl">
<% for(var i = 0,len = this.length;i < len; i++){ %>
    <% var obj = this[i]; %>
    <li  class="cmp-table-view-cell cmp-collapse cmp-table-view-cell-continue">
        <a  class="cmp-navigate-right cmp-table-view-cell-content"><%=obj.label%></a>
        <div class="cmp-collapse-content">
            <%var continueMembers=obj.continueMembers;%>
            <% if(continueMembers.length>0){%>
            <ul class="cmp-table-view cmp-grid-view cmp-grid-9 cmp-table-view-diversion">
                 <% for(var j = 0,leng = continueMembers.length;j < leng; j++){ %>
                 <% var continueMember = continueMembers[j]; %>
                 <li class="cmp-table-view-cell cmp-media cmp-col-xs-3 cmp-col-sm-3">
                     <div class="select_continue_members"
                          data-memberid="<%=continueMember.id%>"
                          data-membername="<%=continueMember.name%>"
                          data-memberaccountid="<%=continueMember.orgAccountId%>"
                          data-permissionsname="<%=obj.name%>"
                          data-permissionslabel="<%=obj.label%>"
                          data-permissionsindex="<%=i%>">
                         <div class="select_continue_members-avatar">
                             <img class="cmp-icon cmp-icon-avatar" src="<%=cmp.serverIp%>/seeyon/rest/orgMember/avatar/<%=continueMember.id %>"/>
                             <img class="cmp-icon-avatar-selected" src="../../images/icon_continue_selected.png"/>
                         </div>
                         <div class="cmp-media-body"><%=continueMember.name%></div>
                     </div>
                 </li>
                 <%}%>
            </ul>
            <%}%>
            <div class="cmp-table-div-more" data-permission="<%=i%>">
                <a>选择更多</a>
            </div>
        </div>
    </li>
<%}%>
</script>
</body>
</html>